/// @file Tray.h
#pragma once
#include <gui/TanContainer.h>
#include <QMouseEvent>
#include <core/CoordinateTransformer.h>
#include <core/ContainerWidget.h>
#include <core/TanPainter.h>
#include <core/Tangram.h>
#include <QStyleOption>

namespace qtangram
{
    /**
	@class Tray
	@brief Represents widget that is a tray for tans
    */
    class Tray : public ContainerWidget, public TanContainer
    {
         Q_OBJECT
	public:
	Tray(double viewRange, QWidget* parent = 0);
	Tray(QWidget* parent = 0);
	void paintEvent(QPaintEvent *);
	protected:
	void mousePressEvent(QMouseEvent *event);
    signals:
        void sigRemoveSelectedTans();
    };
}
